package com.aoip.telemetry.telemetry.entity.element;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 元素解析顺序配置表
 *
 * @author chenbai
 * @version 1.0
 * @date 2021/7/12 3:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
@TableName("element_analysis_group_config")
@ApiModel(description = "元素解析组配置表")
public class ElementAnalysisGroupConfigEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("解析元素组数据id")
    private String id;

    @TableField(value = "analysis_group_name")
    @ApiModelProperty("解析元素组名称")
    private String analysisGroupName;

    @TableField(value = "func_code")
    @ApiModelProperty("功能码")
    private String funcCode;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("修改时间")
    private LocalDateTime modifyTime;

    @TableField(value = "del_flag", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("删除标识")
    @TableLogic
    private Integer delFlag;

    @TableField(value = "bz")
    @ApiModelProperty("备注信息")
    private String bz;
}
